package cn.sangyy.gift.auth.client;

import cn.sangyy.gift.common.util.AjaxResult;
import cn.sangyy.gift.domain.LoginUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author sangYY
 * @date: 2023/03/29/22:57
 */
@FeignClient(value = "gift-auth",fallbackFactory = LoginUserClientFallBackFactory.class)
public interface LoginUserClient {
    @PutMapping("/loginUser")
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
